]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
components/autorunManager: Add description to autorun notification
authorJulian Sparber <julian@sparber.net>
Tue, 6 Feb 2024 15:38:19 +0000 (16:38 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 19 Jul 2024 18:51:57 +0000 (18:51 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3168>

js/ui/components/autorunManager.js

index 40dd5858d6cbe61dab633310e5ace8c57ea697e5..0df783aedb1530870cf8455533f5915664fe3d2f 100644 (file)
@@ -187,9 +187,13 @@ class AutorunDispatcher {
             return;
 
         const source = MessageTray.getSystemSource();
+        /* Translators: %s is the name of a partition on a external drive */
+        const title = _('ā€œ%sā€ connected'.format(mount.get_name()));
+        const body = _('Disk can now be used');
         const notification = new MessageTray.Notification({
             source,
-            title: mount.get_name(),
+            title,
+            body,
         });
         notification.connect('activate', () => {
             const app = Gio.app_info_get_default_for_type('inode/directory', false);